namespace Terra.Core.Common.ApiResponse;

/// <summary>
/// API响应码常量
/// </summary>
public static class ApiResponseCode
{
    /// <summary>
    /// 成功
    /// </summary>
    public const string SUCCESS = "SUCCESS";

    /// <summary>
    /// 失败
    /// </summary>
    public const string ERROR = "ERROR";

    /// <summary>
    /// 未授权
    /// </summary>
    public const string UNAUTHORIZED = "UNAUTHORIZED";

    /// <summary>
    /// 禁止访问
    /// </summary>
    public const string FORBIDDEN = "FORBIDDEN";

    /// <summary>
    /// 参数错误
    /// </summary>
    public const string BAD_REQUEST = "BAD_REQUEST";

    /// <summary>
    /// 系统错误
    /// </summary>
    public const string SYSTEM_ERROR = "SYSTEM_ERROR";

    /// <summary>
    /// 业务错误
    /// </summary>
    public const string BUSINESS_ERROR = "BUSINESS_ERROR";
}